package com.acoffee.mapper;

import com.acoffee.pojo.RbacPerm;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author acoffee
 * @create 2021-11-27 14:18
 */
@Mapper
@Repository
public interface RbacPermMapper {
    public List<RbacPerm> queryAll();

    RbacPerm queryOne(int id);

    boolean updateOne(RbacPerm perm);

    boolean addOne(RbacPerm perm);

    boolean deleteOne(int id);
}
